package dockerdemo.demo.com.wow.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.naming.spi.ResolveResult;
import javax.xml.crypto.Data;
import java.util.Date;

@RestController
@RequestMapping
public class TestController {

    @GetMapping("hello")
    public String Hello() {
        return "Hello World";
    }

    @GetMapping("goodbye")
    public String Goodbye() {
        return "Goodbye World";
    }
}
